package dreamCookGame;

public class RecipeReference {
	public Recipe pudding;
	public Recipe pizzaDough;
	public Recipe pizza;
	public Recipe lemonFish;
	public Recipe grilledCheese;
	public Recipe fruitTart;
	public Recipe cake;
	public Recipe failedCake;
	
	public RecipeReference(){
		buildRecipes();
	}

	private void buildRecipes() {
		buildPudding();
		buildPizzaDough();
		buildPizza();
		buildLemonFish();
		buildGrilledCheese();
		buildFruitTart();
		buildCake();//"I will build her a cake" - Pedro
		buildFailedCake();
		buildFruitTart();
	}


	private void buildFailedCake(){
		String[] ingredients = {"water","cakeMix"};
		String[] bonusIngredients = {""};
		
		failedCake = new Recipe(ingredients, bonusIngredients);
	
	}
	private void buildCake() {
		String[] ingredients = {"water","cakeMix","puddingMix","oil","fish","eggs","peppers"};
		String[] bonusIngredients = {"whippedTopping","milk","strawberries","blueberries","bananas","pineapple","coconut"};
	
		cake = new Recipe(ingredients, bonusIngredients);
	
	}
	private void buildFruitTart() {
		String[] ingredients = {"flour","butter","strawberries"};
		String[] bonusIngredients = {"apples","bananas","pineapple","coconut"};

		fruitTart = new Recipe(ingredients, bonusIngredients);
	
	}
	private void buildGrilledCheese() {
		String[] ingredients = {"bread","cheese","butter"};
		String[] bonusIngredients = {"peppers","parsley","hamAndTurkey"};
	
		grilledCheese = new Recipe(ingredients, bonusIngredients);
		
	}

	private void buildLemonFish() {
		String[] ingredients = {"oil","fish"};
		String[] bonusIngredients = {"garlic","lemon","butter","flour","eggs","peppers","coconut","parsley","potatoes"};
	
		lemonFish = new Recipe(ingredients, bonusIngredients);
		
	}

	private void buildPizza() {
		//TODO: Add cheese into game
		String[] ingredients = {"pizzaDough","tomatoSauce","cheese"};//no cheese yet
		String[] bonusIngredients = {"pineapple","hamAndTurkey","parsley","peppers","garlic"};
	
		pizza = new Recipe(ingredients, bonusIngredients);
		
	}

	private void buildPizzaDough() {
		//TODO: Add salt, oil, water, and flour to the game -Jonathan

		//TODO: When this recipe is completed in the kitchen, pizzaDough should 
		//      be added to the inventory (or made available to be added to the inventory)-Jonathan
		
		String[] ingredients = {"flour","water","salt","oil"};//No salt, oil, water, or flour in the implementation yet :-/ -Jonathan
		String[] bonusIngredients = {"garlic"};
	
		pizzaDough = new Recipe(ingredients, bonusIngredients);
		
	}

	private void buildPudding() {
		String[] ingredients = {"puddingMix","water"};
		String[] bonusIngredients = {"milk","coconut","bananas","whippedTopping"};
		
		pudding = new Recipe(ingredients, bonusIngredients);
	}

}
